﻿Imports System.Collections
Imports System.Reflection
Imports Microsoft.SqlServer.Dts.Runtime
Imports System.ComponentModel

'Here are the classes that contain the properties of the form.

Public Class GeneralProperties
    Private _TaskName As String
    Private _TaskDescription As String

    Public Sub New(ByVal TaskName As String, ByVal TaskDescription As String)
        Me._TaskName = TaskName
        Me._TaskDescription = TaskDescription
    End Sub

    <CategoryAttribute("General"), _
       Browsable(True), _
       [ReadOnly](False), _
       BindableAttribute(False), _
       DefaultValueAttribute("My Task"), _
       DesignOnly(False), _
       DescriptionAttribute("Specifies the name of the task.")> _
    Public Property Name() As String
        Get
            Return Me._TaskName
        End Get
        Set(ByVal Value As String)
            Me._TaskName = Value
        End Set
    End Property

    <CategoryAttribute("General"), _
       Browsable(True), _
       [ReadOnly](False), _
       BindableAttribute(False), _
       DefaultValueAttribute("My Task"), _
       DesignOnly(False), _
       DescriptionAttribute("Specifies the description for this task.")> _
    Public Property Description() As String
        Get
            Return Me._TaskDescription
        End Get
        Set(ByVal Value As String)
            Me._TaskDescription = Value
        End Set
    End Property
End Class